﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Product.aspx.cs" Inherits="MyWeb.TrangChinh.Product" MasterPageFile="SiteMaster.Master" %>

<%@ Register Src="~/TrangChinh/UC/ucAdvertise.ascx" TagPrefix="uc1" TagName="ucAdvertise" %>
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="ContentMain">
    <div id="product-main">
        <div id="product-info">
            <div id="product-info-left">
                <div id="product-info-left-img">
                    <asp:Image ID="imgHinhanh" runat="server" Height="408px" Width="307px" style="border: 1px gainsboro solid"/>
                </div>
                <div id="product-info-left-thumb">
                    <asp:Repeater runat="server" ID="rptImgThums" OnItemCommand="rptImgThums_ItemCommand">
                        <ItemTemplate>
                           <asp:ImageButton Style="border: 1px #FF95A6 solid" CommandName="Image" CommandArgument='<%#Eval("Image") %>' runat="server" ID="imgThumb" ImageUrl='<%#Eval("Image") %>' Width="50px" Height="60px" />
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
            <div id="product-info-right">
                <div id="product-info-right-name">
                    <asp:Label ID="lblName" runat="server"></asp:Label>
                </div>
                 <div id="product-info-right-id" class="auto-style1">
                     Mã:
                    <asp:Label ID="lblId" runat="server"></asp:Label>
                </div>
                <br/>
                <hr/>
                <div id="product-info-right-price">
                    <div id="product-info-right-price-title">Giá cũ:</div>
                    <div id="product-info-right-price-price">
                        <asp:Label ID="lblPrice" runat="server"></asp:Label>
                    </div>

                </div>
                <div id="product-info-right-fb-like">
                    
                </div>
                <div id="product-info-right-pricenew">
                    <div id="product-info-right-pricenew-title">Giá mới:</div>
                    <div id="product-info-right-pricenew-price">
                        <asp:Label ID="lblPriceNew" runat="server"></asp:Label>
                    </div>
                </div>
                <div id="product-info-right-size">
                    <div id="product-info-right-size-title">Chọn size:
                        <asp:HiddenField runat="server" ID="hfSize"/>
                         <asp:Label runat="server" ID="lblSize" ForeColor="#FF0000"></asp:Label>
                    </div>
                    <div id="product-info-right-size-size">
                        <asp:Repeater runat="server" ID="rptSize" OnItemCommand="rptSize_ItemCommand1">
                        <ItemTemplate>
                           <asp:Button runat="server" id="btnSize" CommandName="Size" CommandArgument='<%#Eval("Size_Id") %>' Text='<%#Eval("Size") %>' Width="25px" Height="20px"></asp:Button>
                        </ItemTemplate>
                    </asp:Repeater>
                    </div>
                </div>
                <div id="product-info-right-mua">
                    <asp:ImageButton ID="ibtnMuangay" runat="server" ImageUrl="~/TrangChinh/Style/Images/mua-ngay.png" OnClick="ibtnMuangay_Click" />
                </div>
                <div id="product-info-right-detail">
                    .........
                </div>
            </div>
            <div id="product-info-description">
                <div style="margin-left: 2px; width: 100%; height: 25px; padding-top: 30px; float: left">
                    <ul id="countrytabs" class="shadetabs">
                        <li><a href="#" rel="mota" class="selected">Mô tả sản phẩm</a></li>
                        <li><a href="#" rel="ykien">Bình luận</a></li>
                    </ul>

                </div>
                <div style="background: #fff; padding: 0px; width: 100%; float: left;">
                    <div id="mota" class="tabcontent TabElement">
                        <asp:Label ID="lblDescription" runat="server"></asp:Label>
                    </div>
                    <div id="ykien" class="tabcontent TabElement">
                        <div id="fb-root"></div>
                        <script src="http://connect.facebook.net/en_US/all.js#appId=417555718310316&amp;xfbml=1"></script>
                       <%-- <fb:comments xid='<%=Page.RouteData.Values["Id"].ToString()%>' width="736"></fb:comments>--%>
                    </div>
                </div>
                <script src="Scripts/tabControl.js"></script>
                <link href="Style/tabControl.css" rel="stylesheet" />
                <script type="text/javascript">
                    var countries = new ddtabcontent("countrytabs")
                    countries.setpersist(true)
                    countries.setselectedClassTarget("link") //"link" or "linkparent"
                    countries.init()
                </script>

            </div>
        </div>
        <div id="product-advertise">
            <uc1:ucAdvertise runat="server" ID="ucAdvertise" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content1" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .auto-style1 {
            font-weight: normal;
        }
    </style>
</asp:Content>

